package com.mail.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mail.model.db.OmsOrderReturnReason;

import java.util.List;

public interface OmsOrderReturnReasonApi {
    //分页查询退货原因
    Page queryByPage(Integer pageNum, Integer pageSize);

    //根据id，获取单个退货原因详情信息
    OmsOrderReturnReason findById(Long id);

    //修改退货原因
    Integer updateReturnReason(OmsOrderReturnReason reason);

    ////批量删除退货原因
    Integer deleteByIds(List<Long> ids);

    //添加退货原因
    Integer save(OmsOrderReturnReason reason);
}
